<!--
 * @Author: 孙开源 && sunkaiyuan@namenode.cn
 * @Date: 2023-11-10 10:52:07
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @LastEditTime: 2023-11-10 15:23:15
 * @Description: 
 * 
-->
<template>
  <el-image style="width: 100px; height: 100px" :src="src" class="my-link" :preview-src-list="srcList"
    :initial-index="index" fit="cover">
    <template #error>
      <div class="image-slot">
        <el-icon :size="50" :color="'#EEEEEE'">
          <el-icon-DocumentDelete />
        </el-icon>
      </div>
    </template>
  </el-image>
</template>
<script>
export default {
  name: "formatImage",

  props: {
    src: null,
    srcList: null,
    index: null
  },
};
</script> 
